package com.youlai.boot.factory.model.entity;

import lombok.Getter;
import lombok.Setter;

import java.time.LocalDate;
import java.time.LocalDateTime;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.youlai.boot.common.base.BaseEntity;

/**
 * 结算单明细实体对象
 *
 * @author youlaitech
 * @since 2025-07-06 15:40
 */
@Getter
@Setter
@TableName("settlement_items")
public class SettlementItems extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 结算单ID
     */
    private Integer settlementId;
    /**
     * 结算单编号(冗余)
     */
    private String settlementNumber;
    /**
     * 款号
     */
    private String styleId;
    /**
     * 款式名称
     */
    private String styleName;
    /**
     * 颜色
     */
    private String color;
    /**
     * 尺码
     */
    private String size;
    /**
     * 数量
     */
    private Integer quantity;
    /**
     * 单价
     */
    private BigDecimal unitPrice;
    /**
     * 金额
     */
    private BigDecimal amount;
    /**
     * 生产日期
     */
    private LocalDate productionDate;
    /**
     * 产品图片URL
     */
    private String imageUrl;
    /**
     * 备注
     */
    private String remark;
    /**
     * 创建人ID
     */
    private Long createBy;
    /**
     * 修改人ID
     */
    private Long updateBy;
}
